<template>
  <div class="card-box">
    <div class="card-inner-box">
      <slot />
    </div>
  </div>
</template>

<script>
export default {
  name: 'CardBox',
}
</script>

<style lang="scss" scoped>
.card-box {
  width: 100%;
  position: relative;
  .card-box {
    width: auto;
  }
  .card-inner-box {
    width: calc(100% + 10px);
    &::after {
      content: '';
      display: block;
      clear: both;
    }
    &>div {
      float: left;
    }
  }
}
</style>
